package com.sky.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("新增员工接口数据模型")
public class EmployeeDTO {
    @ApiModelProperty(value = "主键",required = false)
    private Long id;
    @ApiModelProperty(value = "姓名",required = true,example = "张三")
    private String name;
    @ApiModelProperty(value = "用户名",required = true,example = "zhangSan")
    private String username;
    @ApiModelProperty(value = "用户密码",required = false)
    private String password;
    @ApiModelProperty(value = "用户手机号",required = true,example = "17681889620")
    private String phone;
    @ApiModelProperty(value = "用户性别，1男 0女",required = true,example = "1")
    private String sex;
    @ApiModelProperty(value = "用户身份证号",required = true,example = "330329195512043632")
    private String idNumber;
}
